<?php
include_once('php/includes/definer.php');
include_once('php/checkers/login.checker.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Chatarra - Administrador</title>
<link rel="stylesheet" type="text/css" href="<?php echo(URL); ?>admin/css/bootstrap.min.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo(URL); ?>admin/css/bootstrap-responsive.min.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo(URL); ?>admin/css/jquery-ui-1.8.23.custom.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo(URL); ?>admin/css/estilos.css" media="screen" />
<script src="<?php echo(URL); ?>admin/php/includes/definer.js" type="text/javascript"></script>
<script src="<?php echo(URL); ?>admin/js/jquery.js" type="text/javascript"></script>
<script src="<?php echo(URL); ?>admin/js/jquery-ui.js" type="text/javascript"></script>
<script src="<?php echo(URL); ?>admin/js/bootstrap.min.js" type="text/javascript"></script>
<script src="<?php echo(URL); ?>admin/js/Replacer.js" type="text/javascript"></script>
<script src="<?php echo(URL); ?>admin/js/admin.js" type="text/javascript"></script>
<script src="<?php echo(URL); ?>admin/js/novedadesPresentacion.js" type="text/javascript"></script>
</head>
<body>
<div id="contenido">
<div class="container" style="margin: 0 auto">    
<?php include_once('tpl/header.html'); ?>
    <div class="row-fluid">
        <?php include_once('tpl/nav.html'); ?>
        <div class="span9">
        <div class="page-header">
            <h1><small>Novedades</small></h1>
        </div>
        <div class="row-fluid">
            <div id="novedadesPresentacion" class="span12">
            </div>
        </div>
    </div>
</div>
    <?php include_once('tpl/footer.html'); ?>
</div>
</body>
</html>
<div id="mainTpl" class="hide">
    <div id="novedadesCarousel" class="carousel slide">
        <div class="carousel-inner">
            ${imagenes[]}
        </div>
        <a class="carousel-control left" href="#novedadesCarousel" data-slide="prev">&lsaquo;</a>
        <a class="carousel-control right" href="#novedadesCarousel" data-slide="next">&rsaquo;</a>
    </div>
</div>
<div id="imagenesTpl" class="hide">
    <div class="item">
        <img src="<?php echo(URL) ?>content/novedades/${src}?c=${alea}" />
        <div class="carousel-caption">
            <h4>${titulo}</h4>
            <p>${descripcion}</p>
        </div>
    </div>
    
</div>